package com.simple.gateway.core.datasource;

/**
 * 项目: simple-gateway-core
 *
 * 功能描述: 将每次请求抽象成链接
 *
 * @author: WuChengXing
 *
 * @create: 2023-08-04 16:45
 **/
public interface Connection {

    /**
     * 把请求抽象成连接
     * @param method
     * @param parameterTypes
     * @param parameterNames
     * @param args
     * @return
     */
    Object execute(String method, String[] parameterTypes, String[] parameterNames, Object[] args);
}
